package com.weidong.mybbs.mapper;

import com.weidong.mybbs.entity.UserRole;
import com.weidong.mybbs.filter.UserRoleFilter;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UserRoleMapper {

    List<UserRole> findList(UserRoleFilter filter);

    UserRole findById(int id);
}
